.thumbnail {
  display: inline-block;
  min-width: 32px;
  max-width: 32px;
  min-height: 32px;
  max-height: 32px;
  color: white;
  border-radius: 4px;
  box-shadow: 0 1px 2px 0 #555;
  background-size: contain;
  cursor: pointer;
}

.selected {
  box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.2);
}
.selected .check {
  box-sizing: border-box;
  position: relative;
  display: block;
  float: right;
  transform: scale(var(--ggs, 1));
  width: 22px;
  height: 22px;
  margin: 5px;
}
.selected .check::after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  left: 3px;
  top: -1px;
  width: 6px;
  height: 10px;
  border-color: currentColor;
  border-width: 0 2px 2px 0;
  border-style: solid;
  transform-origin: bottom left;
  transform: rotate(45deg);
}
